import hyRequest from "@/service";

export function getBanners(){
    return hyRequest.get({
        url:"/banner"
    });
};
export function getHotRecommend(limit = 30){
    return hyRequest.get({
        url:"/personalized",
        params:{
            limit
        }
    });
};
export function getNewAlbums(){
    return hyRequest.get({
        url:"/album/newest"
    });
};
export function getTopRankings(id:number){
    return hyRequest.get({
        url:"/playlist/detail",
        params:{
            id
        }
    });
};
export function getSettleSingerList(limit = 30){
    return hyRequest.get({
        url:"/artist/list",
        params:{
            limit
        }
    });
};
